﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace CoPro.Configuration
{
    public class ContentProviderConfiguration : ConfigurationElement
    {
        [ConfigurationProperty("initSetting", IsRequired = true, IsKey = false)]
        public String InitializationSetting
        {
            get
            {
                return this["initSetting"] as string;
            }
        }

        [ConfigurationProperty("name", IsRequired = true, IsKey = true)]
        public String Name
        {
            get
            {
                return this["name"] as String;
            }
        }

        [ConfigurationProperty("type", IsRequired = true)]
        public String Type
        {
            get
            {
                return this["type"] as String;
            }
        }
    }
}
